package com.hsteach.web.controller.visit.sdk.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.web.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 〈〉
 *
 * @author ext.qiufukang1
 * @create 2023/11/21
 * @since 1.0.0
 */
@Data
@ApiModel(value = "SdkListRecordDto", description = "分页查询家访记录")
public class SdkListRecordDto extends PageDto implements Serializable {

    @NotBlank(message = "机构号不能为空")
    @ApiModelProperty(value = "机构号", required = true)
    private String orgCode;

    @ApiModelProperty(value = "学生名", required = true)
    private String searchName;

    @ApiModelProperty(value = "查询日期", required = true)
    @JsonFormat(pattern = "yyyy-MM")
    private Date searchDate;

    @ApiModelProperty(value = "班级Id", required = true)
    private String classId;
}